package com.itheima_7;

public class test {
    public static void main(String[] args) {
            meoth(new Play() {
                @Override
                public void playGame() {
                    System.out.println("wozhixingle");
                }
            });
    }
     public static void meoth(Play p){
         System.out.println("我执行了");

     }
}
interface Play{
    void playGame();
        }